package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LExamUser
 * @date 2021.04.13 10:17
 * @describe 个人报名考试
 */
@TableName("l_exam_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LExamUser对象", description="个人报名考试")
public class LExamUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "exam_user_id", type = IdType.AUTO)
    private Integer examUserId;

    @ApiModelProperty(value = "试卷id")
    @TableField("exam_paper_id")
    private Integer examPaperId;

    @ApiModelProperty(value = "考次id")
    @TableField("exam_id")
    private Integer examId;

    @TableField(exist = false)
    private String examName;

    @ApiModelProperty(value = "考试人员id")
    @TableField("user_id")
    private Integer userId;

    @TableField(exist = false)
    private String userName;

    @ApiModelProperty(value = "答题用时")
    @TableField("exam_user_time")
    private String examUserTime;

    @ApiModelProperty(value = "考试时间")
    @TableField("exam_time")
    private Date examTime;

    @ApiModelProperty(value = "报名时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "提交考试时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "提交考试人")
    @TableField("update_user")
    private String updateUser;

    @ApiModelProperty(value = "考试状态 1在考 2已考")
    @TableField("exam_user_state")
    private String examUserState;

    @ApiModelProperty(value = "成绩")
    @TableField("user_score")
    private Integer userScore;

    @TableField(exist = false)
    private String examCount;

    @TableField("user_ip")
    private String userIp;

    @TableField(exist = false)
    private String average;

    @ApiModelProperty(value = "最高分")
    @TableField(exist = false)
    private String maxScores;

    @ApiModelProperty(value = "最低分")
    @TableField(exist = false)
    private String minScores;

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMaxScores() {
        return maxScores;
    }

    public void setMaxScores(String maxScores) {
        this.maxScores = maxScores;
    }

    public String getMinScores() {
        return minScores;
    }

    public void setMinScores(String minScores) {
        this.minScores = minScores;
    }

    public String getAverage() {
        return average;
    }

    public void setAverage(String average) {
        this.average = average;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getExamCount() {
        return examCount;
    }

    public void setExamCount(String examCount) {
        this.examCount = examCount;
    }

    public Integer getExamUserId() {
        return examUserId;
    }

    public void setExamUserId(Integer examUserId) {
        this.examUserId = examUserId;
    }

    public Integer getExamPaperId() {
        return examPaperId;
    }

    public void setExamPaperId(Integer examPaperId) {
        this.examPaperId = examPaperId;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getExamUserTime() {
        return examUserTime;
    }

    public void setExamUserTime(String examUserTime) {
        this.examUserTime = examUserTime;
    }

    public Date getExamTime() {
        return examTime;
    }

    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getExamUserState() {
        return examUserState;
    }

    public void setExamUserState(String examUserState) {
        this.examUserState = examUserState;
    }

    public Integer getUserScore() {
        return userScore;
    }

    public void setUserScore(Integer userScore) {
        this.userScore = userScore;
    }
}
